package com.koron.ticket.workchange.ticketchangecontent.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangecontent.bean.TicketChangeContent;
import com.koron.ticket.workchange.ticketchangecontent.bean.TicketChangeContentQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeContent)表服务接口
 *
 * @author 朱超
 * @since 2021-10-27 09:59:21
 */
public interface TicketChangeContentService {

    Response insert(SessionFactory factory, TicketChangeContent ticketChangeContent);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeContent ticketChangeContent);

    Response getById(SessionFactory factory, String id);

    TicketChangeContent getSingle(SessionFactory factory, TicketChangeContentQuery ticketChangeContentQuery);

    List<TicketChangeContent> getList(SessionFactory factory, TicketChangeContentQuery ticketChangeContentQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
